package com.dailyblue.example.project.bookstore.logistics.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.dailyblue.example.project.bookstore.commons.bean.Logistics;
import com.dailyblue.example.project.bookstore.commons.mapper.LogisticsMapper;
import com.dailyblue.example.project.bookstore.commons.util.JsonResult;
import com.dailyblue.example.project.bookstore.commons.util.ResultTool;
import com.dailyblue.example.project.bookstore.logistics.service.LogisticsService;
import org.springframework.stereotype.Service;

@Service
public class LogisticsServiceImpl extends ServiceImpl<LogisticsMapper, Logistics> implements LogisticsService {
    @Override
    public JsonResult saveLogistics(Logistics logistics) {
        save(logistics);
        return ResultTool.success("success");
    }
}
